﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sonic.Framework.Interfaces;
using System.IO;

namespace Sonic.Framework.Site
{
    public class SitePath : ISitePath
    {
        public Enums.SitePathScope Scope
        {
            get;
            set;
        }

        public FileInfo FileInfo
        {
            get;
            set;
        }

        public SitePath()
        {
        }

        public SitePath(string path)
            : this(new FileInfo(path))
        {
        }

        public SitePath(FileInfo fi)
        {
            this.Scope = Enums.SitePathScope.File;
            this.FileInfo = fi;
        }

        public SitePath(FileInfo fi, Enums.SitePathScope scope)
        {
            this.Scope = scope;
            this.FileInfo = fi;
        }
    }
}
